package a.f.d.a;

import a.c.e;
import a.c.x;

import java.util.HashMap;

class mb
  extends lb
  implements sc
{
  private a.c.q d;
  private final a.c.q e;
  private final HashMap f;
  private final x g;
  
  mb(a.c.q paramq)
  {
    this.d = paramq;
    this.e = new a.c.q();
    this.f = new HashMap();
    this.g = this.e.B();
    this.e.a(a, a.i.q.a(this.f));
    this.e.a(b, this.g);
    if ((d.R) || (paramq != null)) {
      paramq.a(sc.c, a.i.q.a(this.e));
    }
  }
  
  public Object a()
  {
    return this.e;
  }
  
  public void b()
  {
    if (!d.R)
    {
      if (this.d != null)
      {
        this.d.j(sc.c);
        this.d = null;
      }
      this.e.j(b);
      this.e.o();
    }
    this.e.a(this.g);
  }
  
  public void a(Object paramObject1, Object paramObject2)
  {
    if (!d.R) {
      if (paramObject1 == null) {
        throw new IllegalArgumentException("reference == null");
      }
    }
    if (paramObject2 == null) {
      throw new IllegalArgumentException("before == null");
    }
    this.e.a(c(paramObject2), c(paramObject1));
  }
  
  public void b(Object paramObject1, Object paramObject2)
  {
    if (!d.R) {
      if (paramObject1 == null) {
        throw new IllegalArgumentException("reference == null");
      }
    }
    if (paramObject2 == null) {
      throw new IllegalArgumentException("after == null");
    }
    this.e.a(c(paramObject1), c(paramObject2));
  }
  
  public void a(Object paramObject)
  {
    if (paramObject == null) {
      throw new IllegalArgumentException("null");
    }
    a(c(paramObject), true);
  }
  
  public void b(Object paramObject)
  {
    if (paramObject == null) {
      throw new IllegalArgumentException("null");
    }
    a(c(paramObject), false);
  }
  
  private e c(Object paramObject)
  {
    e locale = (e)this.f.get(paramObject);
    if (!d.R) {
      if (locale == null)
      {
        locale = this.e.i();
        this.f.put(paramObject, locale);
      }
    }
    return locale;
  }
  
  private void a(e parame, boolean paramBoolean)
  {
    this.g.a(parame, paramBoolean);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.d.a.mb

 * JD-Core Version:    0.7.0.1

 */